package com.youngwang.service;

import com.youngwang.entity.UserEntity;

import javax.validation.constraints.NotNull;

/**
 * @author youngwang
 *         Date: 2016/9/20
 */

public interface UserService {
    /**
     * @param name
     * @param phone
     * @return
     */
    UserEntity login(@NotNull String name, @NotNull String phone);
}
